// InstanceModule.ts
import { defineStore } from "pinia";
interface TpsState {
  isStressed: boolean | null;
  travelServiceTps: any | null;
  travelPlanServiceTps: any | null;
}
interface TpsModuleState {
  tps: TpsState;
}
export const useTpsModuleStore = defineStore({
  id: "tps-module",
  state: (): TpsModuleState => ({
    tps: {
      isStressed: null,
      travelServiceTps: null,
      travelPlanServiceTps: null,
    },
  }),
  getters: {
    getTps(state): any {
      return state.tps;
    },
  },
  actions: {
    setTps(value: any) {
      this.tps = value;
    },
  },
});
